Use MALLOC instead of malloc

Change-Id: Id4bb5a1cb7762235a35b500c512ad21cb6dbba04
Sundials Extension: extract error messages instead of creating them all

Implemented a function to use Sundials' error messages, so now we don't have to recreate them
Applied the same principle to LSodar

Change-Id: I676e9a9b42a0a3f4a72ec86fe526c7e8d908a30f