Why the use of floats instead of integers throught your code ? Especially with an ID matrix, I don't get the point, can you enlighten me ? :)