Designing Magnetic Soft Materials for 4D Printing