Fixed checking flowrates / spin speeds
Fixed a few bugs in to_dict