A Java based API for Matrix operations