renders cube w/ matrix