Changed config and code for motor driver: Now its possible to configure whether a and b pins are inverted separately e.g. a connected to mosfets (inverted) and b connected directly