Added discrete / continuous button. Closes #1