Added Apache math library

Use the conjugate gradient algorithm provided by apache