An Alternating Least Squares Approach to Squared Distance Scaling