Ferrimagnetic Organic Semi-Conductors and Lanthanides, a Density Functional Approach