move periodicity length into pdf calc functions for ease of use