Title: Theory and User Manual for OTEC C.W. Pipe Programs ROTECF and SEGPIP