Version 1.0.2

Made compatible with more modern C++ compilers, while retaining backwards compatibility, by using boost::tr1 for array.