libs: npd: move debug functions
libs: npd: remove unused functions and mark some functions as static
npd: NPD operation uses GEGL sampler and operates in RGBA float
libs: npd: fix bug in ARAP transformation algorithm