An extension of mathematics classes made primarily in Java