Extended cuda impl. for the Nth superdiagonal

* Changed the matrix class to column-major (required for cuBLAS)