Two pieces

1. Allow arbitrary texture sizes
2. Added Scala to Export Code