remove unused simpson function