Warningfix

Fixed several warnings in KERNEL, FILTERING and APPLICATIONS