Added Tick and GetOutput functions to brain