Changed the type of fps related variables from unnecessary double to int