Jave math object external sheet