fit bivariate normal distribution