Fixed reading of variables with two or more coordinates.