Modified .gitignore, added AMath.java, PolynomialFunction.java, LinearFunction.java
Small change to Function2.java
Added javadoc to PolynomialFunction.java
Merged math_general into master