A simple Java based API fto perform matrix operations