Correcting spacing issues around operators, commas etc

This is merely another issue brought up by `pylint` which shows some stylistic errors which need correction.

Comments welcome!