Added missing #include <algorithm> for std::min() and std::max()
Merge pull request #285 from TsudaKageyu/algorithm

Added missing #include <algorithm> for std::min() and std::max()