change func pseknc, add func get_extra_index. This version is correct for pseknc in DNA (No extra index.)