fixed instantiation of Coefficient to include reference to WS object in WS class