periodReturn function

Calculate Periodic Returns