Modify relativeToAbsolute()

Modified return statement for relativeToAbsolute()