Bugfix var type.
Function to free a phenotype.
Test main.
Added files to Makefile.