dot-GetConsensusFeatures function

Returns the most frequently observed features in features_by_layer. If two features are observed at the same frequency their median index will be used to break the tie. If nfeatures is not specified, all features in common_features are returned.