Added frequency analysis

Included vars to look at median frequency during acceleration phase and
hold phase.