Pitch detection

Merged first attempts at note head detection and used those results to implement our first attempt at pitch detection.