Removed (nosense) k_s in sign function