Added calculation implementations. Learning still to come.