Magneto-mechanical system to reproduce and quantify complex strain patterns in biological materials