Update twodim_base.py

fliplr(...) required a 2d array when it should not. This change correct it so that it behaves correctly (as does flipud(...))