fixed magic numbers in calcStock() method
added some more finals to solve magic numbers