Remove unchecked/unsafe operations in Scala code
Merge pull request #24 from lloydmeta/refactor/remove_unchecked_scala_operations

Remove unchecked/unsafe operations in Scala code