Started rudimentary input checking and error handling for rf parameters.