Wrote code for mlUtils.py