reformatting in matrix.c
convert glFrustum to glFrustumf
fix glTexImage2D
add simple glDrawElements
add glGetError stub
link examples against GL instead of GLES, fix mech