Added the date to the number of cycles.

If a start date and a period length have been chosen, the number of cycles will include an end date.

Closes #12