Fix parser
 change format to (1..4) from (1.4) //for random value
 fix calculating value with random (can be less then MIN value)
Merge pull request #239 from nmusienko/ParserFix

Fix parser