...why do you have a variable for the prime 13? are you planning some kind of mode where the primes get shuffled or something?
Mostly because the effects periodically got swapped around during development. It also helps to distinguish factors from mathematical constants, particular when I want to Ctrl+F for everything related to a certain factor (see: https://en.wikipedia.org/wiki/Magic_number_(programming)).