redid cos windows, added flattop and nuttall_cfd