Numerical simulations of flow and microstructure in nematic liquid crystalline materials