fixed an issue with Case objects being created with int values meant for float variables. was causing an error when flattening the value for setting into the u vector