Another error in function vectorselection corrected