implemented hu moments ... need to fix ranking func