Fixed bug where any noise fails after attempting to add a non-integer number of noise terms