Added Linearly Periodic functions in haskell