Update TileEntityMachine

Edited directly on github from browser, expect syntax errors