renamed datautils.py to datautil.py
added saving to mat,json formats and test cases