Removed unneeded risk factor files
Added the encryption function and made some corrections to the calculation proses