added apache commons math

this is only for initial work, expected to be trimmed down to just grid
based relevant things