replaced all calls to listodoublevector and listointvector to newer versions, new matrix method may need work, didn't want to go to far. So far nothing looks broken.