+ made some helper functions more explicit.
+ some minor changes in some samples, math, shaders, and utils.