Initial PR of pitch_calc src along with an example