Cleaned initial R-file, e.g. by eliminating the need for libraries (for bilinear interpolation).
All chances are now represented by values between 0 and 1.