using matrix inversion to check mouse click
building gl->world->gl conversion test and refactoring