Fixed the cubic spline calculation int the transfer function. Also added the ability to calculate the normals and do diffuse rendering.