Added model.color and made material swapping more general. TODO add a completely user-defined model.material function