Apply vertical stretch $a f(x)$ (#358)