improved comments
fixed pl hardware
fixed fatal bug in new commutation implementation, removed unnecessary call to sqrtf