add comments and add operator[] for Transform
add operator[] for Scale's weights