Add plotting tests
Ignore htmlcov directory
Use approximation functions for Z_mean and Z_var