Making sparse matrices an extension of linear operators compiles and works