Update core.js

Added the `__type` property to the instance matrix.