added in surface area calculating code, fixed file upload, enhanced several templates