Feed forward method, mini batch updates, fix unused returns