Update delta_PL.py

Added linear function