Added min/max values

Closes #50