Just for future reference, (not trying to be picky here, because I like this script considering its help with AI), you can use
** for powers. Not a big deal here, but it could save a lot of space if you came across the need to do a long binomial. Also, for those of you who might come across square roots alot,
n ** 0.5 will do the same thing with less ()