Implemented HomeController changes to add Calculate and Confirm methods