Added back raw_input reads and added VSWR settle logic