Passed another test, implemented calcTargets