fix the fisherScore and lap to support sparse weight matrix W