Changed runnableMachine to not rely on Calc's code

Sorry @Calclavia if this looks like copying but i want to use this class
in all my mods without including your library. This way i can allow
other modders to work on my code without asking for your code.