Calculator refactor/octopus
Move class method implementations into free functions.
Add unit tests for Octopus template class
Edited by Alex Buccheri
Move class method implementations into free functions.
Add unit tests for Octopus template class