Spatial resolutions of GEM TPC. A novel theoretical formula and its comparison to latest beam test data