Bernstein basis for LRSplines

Are we ready to merge this into the main repository? Looks good to me...