Cleaned up adaptive bilateral filtering, added support for gaussian interpolation, updated sample and docs