example of how to use smesolve for heterodyne detection