Title: A generalised computer program for internal combustion engines including gas exchange systems