An extension to the brain.js library, for some ease of use