Tacked in comments into setSphere func and edited some code formatting.