Dual referenced composite free layer design optimization for improving switching efficiency of spin-transfer torque RAM