Merge pull request #2 from buske/master

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