Added javadocs for paddle functions. Cleaned out some commented code.