Formatting + fixed AbsMethod using sqrt instead of abs