Added the whole cube problem.
Modified the extreme deviation solution to use the abs function.