added error_ellipse and ploted some jpd's