fixing which partials are applied to which matrix
add optional bias term to neural net