Edited the update function of the thalaus. The randint in the update thalamus needs work though