Resolves #20
Refactored computex.scala