Added processing for states and automatic determination of the fluid for each state

Signed-off-by: Ian bell <ian.h.bell@gmail.com>
Merge branch 'master' of https://github.com/thermocycle/ThermoCycle-Viewer