Changed Model class to accept an input string instead of a double to specify region A (allows for more general region A)