Added construction of pointviewmat