Mark the "c" array as intent(out)

And zero it in the populate_weights() subroutine.
Merge pull request #3 from certik/intent

Mark the "c" array as intent(out)