Implementation of Graham Percival's composite dynamics