Add #include <limits>

Found out that another #include line is needed from http://en.cppreference.com/w/cpp/types/numeric_limits