Modelling and control of optical interference filters using plasma assisted chemical vapour deposition