A robust algorithm for measurement on MSK signals