Return the kin solver object instead of pointer