Library implementation of the Cambridge Data Parallel Model