fixing a memory leak in sm_icp when an error occured in an icp loop
fix for egsl_v2gslm (returned pointer to wrong copy of data)
Changing egsl_alloc_in_context to work like egsl_alloc to avoid memory leaks. One could merge these two methods since they do the same only on a different context index...
Adding an implementation for egsl_free. It releases all unused memory currently held by the egsl_contexts.