added state space encoding part
Merge branch 'master' of http://github.com/sagieske/AA1
added text to plots