Text this: General Extensions and Improvements of Algebraic Persistent Fault Analysis