incorporate yz permutation in binvox function.