Finished multidimensioal scaling and draw 2D image function.