Added VS2013 solution and project.
Tried using Array.fold2 for distance calculation, square root omitted.