initial pass at amending inf.py to include variational term for inducing set optimization