Removed the normal matrix since it was not actually being used.
adding the layer pausing stuff