Objective functions for optimizing resonant mass sensor performance