ENH: add majority vote to malf script