Implemented nilakantha series method