Now generates _switcha.m as well -- needed for implicit integration