initial commit
added change of states
Merge https://github.com/jd-pirtle/sudden_loss
added readme