Reduced some functions to list comps.  Added new profile sql to retrieve multiple rows given a rownum/numofprofileblocks.  Not sure if a profileblock length change within a CMEP entry is a bug