Change it to Apache Commons Math3 matrix library