Original commit message: - move ivas_td_decorr.c into lib_com - rename TD related functions and remove "spar" name from them