Reformatted code for quad_restrict
Corrected incorrect error message in quad_restrict (see #15)
Fixed small spacing issue
Any multiple of 3 is a valid value for bounds (fixes #15)