Fixed the insane use of private constants(!)
Fixed serialization of ellipse function as solver cannot be serialized
Made HDF5 attribute serializable
Added check for polynomial parameters
Avoid NPE by returning from switch