Added safe_inverse to utils

Calculate the inverse of a matrix in different ways if it is sparse or
not.
Started converting Euler deconvolution

Got expanding window working. Need also a moving window.
Still need to adapt recipes and make tests.