Added interpolation.
Added state machine basics.
Tested Yin, does not work