EStep castings finished
removed consts from model
added methods to pattern matrix for iterator code easiness