Some more C++11 compatibility

max -> fmax, min -> fmin
UTestInputs removed due to vector iterator