Cleaned up and commented ijkcoord.txx.
Added functions compute_distance_to_hyperplane
and compute_distance_to_line.
Added 3D versions of compute_distance_to_hyperplane
and compute_distance_to_line.