CALCULATION OF SIGNAL SETTINGS TO MINIMISE DELAY AT A JUNCTION