Removed PlotPointsToImage. Added arguments checking. Updated to new updates from master.

No use for the PlotPointsToImage function.