add functions for minimum/min/std (tests pass)