added min/max function to Field3D objects - implemented in .i SWIG file. Later we can move it to C++ if necessary