Checking for invalid alpha and beta parameters to gaurd against invalid alpha and beta initial values.