Implemented calcTargets and getTargets.

All tests pass.