Add "error" method to mlp to get error in regression mode or "accuracy" in classification mode. Closes #55