My test code, you can work with it, in order to run different error calculations and splits