Changed the name of the triangle classes. Added JavaDoc to public methods and classes.