adopt prelude cleanup
fix #1 tangent space calculation and added texture matrices