Removed dummy include of boost_foreach
Replaced boost::array with c++11 std::array
Removed unused method