Extend simulate
to multidimensional states
#15
Merged
simulate
to multidimensional states
#15