Pivoting and slicing working but output is too flat. Not yet 2-D.