Matrix implementation (not finished) added, using apache.commons.math