Add checks and regularisation
New tests