Added estimation of pi using cascading, using same strategy as was used for pig.