trying to get pair correlation gui to return values