tackling ric and lyap
need to fix arpack error