Added local libraries. Added some code doc. Added explicit names to a couple of infer.net variables (for showing in factor graph). Moved engine initialisation to after definition.