Added debug output function, made reachedFailureLimits() test public
Merge pull request #30 from davetcoleman/spars1_changes

Various Small Changes to SPARS implementation