EMBL solution to mini diff and centring math