Linted code, fixed calloc backwards