First (Working) Revision

Tested on a series of 121 photos