Additional rendering additions and matrix class.