Add option to prune arcs based on a beam over posterior probabilities. Fix vector-weight.
Add missing files