Critical assessment and proposal for reconstruction of a grazing emission X-ray fluorescence instrument