Added min/max values

Closes #20