You are right, this ما doesn't negate the sentence.
It's used mostly when you're explaining (reason, what you're doing...etc)
I think you can't translate it into English, so the best way is to pay attention when it's used. And try to use it in notebook entries, if it's unnatural, people will correct you.