updated docs, wrote helper Java for 2d byte arrays