added the sum and mean recursive fx computation. Few tests too, needs a comprehensive coverage