Existence of minimizers in magnetoelasticity and a ferronematic model with a stray field energy | Synapse