SUGAR: the SPICE for MEMS