Added excplicit conversion between variables

Removed implicit conversion of variables to help the compiler
Merge pull request #29 from logicreative/master

Added excplicit conversion between variables