Fixed issue #3 and #6

- Added exception to fix issue when only one point is drawn (issue #6).
- Added exception to fix issue when all of the points have the same
value (issue #3).
- Added define padding to replace hard coded number.

Thank you to @darkFunction for the help with the fix of issue #3.