Removed the Intents out of the calculating methods thinking that may solve my null pointer exception, however it did not.