The development of coherent Foucault imaging to investigate magnetic microstructure