replaced the uses of erlang:min and erlang:max with locally defined functions.
replaced the uses of erlang:min and erlang:max with locally defined functions.


bsmr-erlang/wrangler,andrzejsliwa/wrangler,arcusfelis/wrangler,tdb/wrangler,arcusfelis/wrangler,prowessproject/wrangler