Updated README
Resolved a few warnings with type conversion