Rewrote vaf.m to a much simpler version. Spent: 5m