Update to Template:
The use of 'C' ordering in the ravel function was causing unwanted connections, use of 'F' has been reinstated.