Updated V1.0.1

Fixed bugs and added new variables.