Fixed Exponent so it compiles

Not sure if it's working correctly as I'm having another problem actually running the program.