Added Tadd and Tskip into PLL function