tried out some stuff with other linear algebra libraries
renamed method to comply with java standard