Finished up Matrix4d.