Fixed bug in get_peaked. Deleted checks in get_distance()
Introduced cross-correlation on non-peaked lcs for maximum position hestimate.