Use more friendly ipdb debugger
Play it safe with division and floats