added an if else statement VectorizedTO3DArray. Line 24 fails to remove ExEm, added an if else statement to remove ExEm