build for address sanitizer, removed unused files

Fixed one error for perspective transform, run through unit tests to
make sure no memory address related issues, run through ./bin/cnnclassify
and ./bin/scddetect on test dataset to verify no memory address related
issues