Added pointer property for accessing pointer to the underlying array.
Changed name and parameter list for drawing lines.
Removed unnecessary code.
Merge pull request #75 from emilwestergren/master

Cleaned code