Optimisation of Signal Timing at Intersections with Waiting Areas