Optimizations + field functions

Sped up multiplication by a factor of two, and made addition and
subtraction ~5x as fast, as well as adding modular addition,
subtraction, and multiplication methods. Modular multiplication takes
~7x as long as regular multiplication so that needs to be optimized.