Added intraperiod and profile options for issue #1

Docs done, need to add tests