migrated Matrix4 to coffeescript