Removing compiler warnings
Added sanity check to axpy