Limitations added to amount rating to be between 1 and 5.
Improved ratings calculation.