Added some javadoc and "polished" the compass