Changed DetectorResponse::SetNBits to use less ambiguous std::pow