The original authors of LIBMF are: Chih-Jen Lin Yu-Chin Juan Wei-Sheng Chin Yong Zhuang Bo-Wen Yuan Meng-Yuan Yang The functions malloc_aligned() and free_aligned() in file src/reco-utils.h are based on an answer in Stack Overflow: https://stackoverflow.com/a/6563989/3152208 Credit goes to the author of this answer, "Node" (https://stackoverflow.com/users/754373/node).