Added parallel code for linear feature extraction.