Removed flatten, flattenNZ, flattenNZcat, #983
Updated Octave tests, #983