Many renamed variables and functions (to make tests and actual code match and to clear up ambiguities).  Removed calcTargets(row,col,steps) and made setupTargets into startTargets(row,col,steps).
Fixed call to nonexistant legend file.  Now only one test fails, and it fails due to a failure rather than due to crashing.