Removed Extra Code

Simplified the drawing of the points so that it checks for `coordinates.length` before attempting to draw, and removed an extra for loop (data was processed through two for loops previously, when one would work just as well).