added sine javadocs