Added exception for inputs less than 1
Merge branch 'lessThanOneExceptions'