Optimizing Approximate Weighted Matching on Nvidia Kepler K40