Fixed the initialization in gradOutput in accGradParameters + cosmetics.