Hey Spencer, wanna accept my pull request for class?

I didn't really do much, just changed a (p * 2) into calc, and input that into the calculation for new orientation. For mediascripting. Yeah.