Update of the note duration formula to handle more than 3 dots. 

Even if it is uncommon, it's theorically correct, and it seems that some generator use to do that.

With that formula is is theorically possible to handle an infinite number of dots as opposed to the previous version which was handling a fixed maximum amount of 3 dots.