changing a std::vector to QVector
changing the way grains are searched to using their own diameter whereas previously the population average diameter was used