Fixed a couple issues:
 -- added frees to match with mallocs
 -- changed some daxpy loops to real daxpys