Add states - adjust toolbar

Add ability to revert to older state and recalculate the solution - add
ability to start from any previous state without overwriting it. -
Change toolbar to horizontal format.