Updated pmpro_next_payment to work for any cycle number or period. (Thanks, antonv and others.)