Made a few workflow changes to calculator.cpp and added support for floating point arithmetic