Added new pad instruction to match Numpy 1.7.

Added new pad instruction to match Numpy 1.7.