Update CMBasicMachine.java

This should work now
Merge pull request #2 from liquidgithub/patch-1

Update CMBasicMachine.java