Update Monochromator.py

Checks every second if the Monochromator is ready for a new input, if not stalls the command line until the device is ready.

- This edit shortens the time to enter a new command after setting a new wavelength.
- It also guarantees that the device is ready for a new input.