Add maths to carousel documentation