Fix Wiggler scaling and add more Transform tests
added one TransformTest and reformatted code