A generalisation of professor Whitehead's theory of relativity