Adding test folder for new detection function.
Deleting ssretest file.
Moving calculation of detection surface inside loop.
Adding detection function comparison code.
Initial attempt at automatic insersion of detection function calculation.