medoidSP function

Find the medoid snow profile among a group of profiles