added ptp() and associated case test

numpy documentation link : http://docs.scipy.org/doc/numpy/reference/generated/numpy.ptp.html