Add gaussian transform to sp mkII and hacks to test it.