* ADD: adding debug mode and real return of square root