vibr_energy method added
std::vector versions of methods added