#1009 Swig interface cleanup
#1009 Moved Matrix::colind and Matrix::row to GenericMatrix base class
#1009 Refactored conversion to numpy array
#1193 #1009 SX now converts to array with SX elements instead of SXElement elements