Maximum likelihood method for fitting the Fundamental Plane of the 6dF Galaxy Survey