Fixed bug in LoadDBData

The function LoadDBData had a big bug in reading the values from the .dat file. It was reading unexpected characters (such as \n and ,) for each attribute (such as year). The conversion from string to int and float was then being unsuccessful, receiving garbage. After fixing that, the float values were presenting unexpected behaviour (very crazy, random and high values), then I noted <stdlib.h> (which is necessary for using atoi and atof functions for converting string into int and float) wasn't included. For some reason, atoi was working without that lib. But now these bugs were all fixed.