added activation buffer
added decay function
fixed broken decay function :P
maybe got the update function working? still not totally sure