Two North Yorkshire MPs are working together to address safety concerns following a number of collisions at the Barton Hill junction on the A64.