Added materials with BRDFS.
Added some vector transformation and sampling functions.