Made CLinearOperator generic

Made CLinearOperator generic for solving #1973