change int to double for cost related calls
Merge pull request #179 from AmeBel/bug-fix

change int to double for cost related calls