Removed lines of code in drawRect, reorganized code, added comments.