Python Matplotlib Bivariate Distribution Calculator