functions that are intended to be imported to libsdp. (this will use the library routines when they are done)