Tweaks calculate proc to allow zero range inputs. Refs #13.