fixed shapes.py tests and started implementing ISS detector.