preparations and housecleaning

I added quaternions to avatar (although they are not being used yet) and I did some housecleaning in Head class, such as cleaning up formatting and adding "_" to several member variables.