Driving a PMSM with space vector modulation

Thanks, that fixed it