adding comments and cleaning up accuracy script. going to fix intensity threshold and work on adding options