More comments, added sData_test.py, fixed some bugs in sData.py