make prepare_database accept a single feature_fun instead of a cell array if desired