Analysis of isothermal remanent magnetization acquisition curves using the expectation-maximization algorithm