I think there is an error in the program. I type in 3 in width, height and depth and 1 in number of pattern providers. Then it shows "Number of pattern providers must be betweem 1 and 0". If I type 0 I get the same.
If you keep pushing on "Calculate Blocks" for changing numbers of pattern...