dropping redundant init of computed values
+comments to outline the algo
adding arg check in calculate values; +unit test
+unit tests