OCaml Design Frames/Wave Function Set