Updated sending function in ALEInterface.