Modelling and Phase Control of a Coherent Photonic Crossbar for Vector-Matrix Multiplications