added types.hpp header to rands.hpp so that it compiles with msvc 9