In the original version of the article, the assignment "a:=j" was missing in Algorithm 1, immediately before the assignment "k:=k-\beta_j". We would like to thank Qi Qi and Yi Shang from the University of Missouri, Columbia, as well as Hongchi Shi from Texas State University, San Marcos, for notifying us of this omission.