Computational Design of Magnetic Artificial Cilia