Multi-Figure tex generation added. Fixed other deficits