Setting up calculations in my ViewController.