 +    likeonly = *p_likeonly, noprojection = *p_noprojection,
 +    diagerrors = *p_diagerrors, noweights = *p_noweights;
 +  double tol = *p_tol, w = *p_w;
++  bool * fixamp = int2bool(fixamp_int, K);
++  bool * fixmean = int2bool(fixmean_int, K);
++  bool * fixcovar = int2bool(fixcovar_int, K);
    //Set up logfiles  
    bool keeplog = true;
    char logname[slen+1];

 */
 #include <stdio.h>
 #include <stdbool.h>
@@ -23,17 +25,23 @@
 
 int proj_gauss_mixtures_IDL(double * ydata, double * ycovar, 
 			    double * projection, double * logweights,

diff --git proj_gauss_mixtures_IDL.c proj_gauss_mixtures_IDL.c
index aa75319..b8f298b 100644
--- proj_gauss_mixtures_IDL.c
+++ proj_gauss_mixtures_IDL.c
@@ -2,17 +2,19 @@
