Streamline DistDeviate code
Documentation ahoy!