Added x(), y(), z() implementations to ProductFunction.