For this time, I will not ask for something

For my application, I have made a Xith adaptation of the Real-Time Atmospheric Scattering algorithm given by Sean O'Neil on his website
http://sponeil.net/ (Code is under BSD license).
So, if you are interested to add it to Xith, here are the files...
PS: At the moment, there is only the view "from space" and no clouds. I 'll try to add them if i have some spare time.
Edit : i forgot to mention something :
i didn't found the "Transform - into - Matrix" method in the Quaternion classes. I may have missed it so i have added this code:
private final Matrix3f getMatrix(){
Matrix3f m = new Matrix3f();
// 9 muls, 14 adds
float x2 = this.getA() + this.getA();
float y2 = this.getB() + this.getB();
float z2 = this.getC() + this.getC();
float xx = this.getA() * x2;
float xy = this.getA() * y2;
float xz = this.getA() * z2;
float yy = this.getB() * y2;
float yz = this.getB() * z2;
float zz = this.getB() * z2;
float wx = this.getD() * x2;
float wy = this.getD() * y2;
float wz = this.getD() * z2;
float fTemp = 1-xx; // Saves one addition
m.m00(1f-(yy+zz));
m.m01(xy-wz);
m.m02(xz+wy);
m.m10(xy+wz);
m.m11(fTemp-zz);
m.m12(yz-wx);
m.m20(xz-wy);
m.m21(yz+wx);
m.m22(fTemp-yy);
return m;
}