Made Naive CAM default tolerance 0
Added gitignore entries
Trailing whitespace and formatting cleanup
removed redundant argument in tpAddSegmentToQueue