added option to remove blank pages in pdf

https://github.com/scipy/scipy/blob/master/scipy/interpolate/rbf.py