add isEmpty and forEach methods; deprecate getRow and getEntireMatrix
add isEmpty test
increase version