The costs and benefits of various designs of biochemical 'decision engines'