some corrections and improvements to the recurrence solver