Added recurrence relations, worked on the calc