Magnetic Anisotropy and Lattice Distortions in The Doped Perovskite Manganites