Added transpose view and made swapped axes return view
Added test methods for real and complex objects and arrays
Reorganised array class and fleshed out some missing methods