move to github

Ignore-this: 664c4869161f2d570bd68cced05ee38d

darcs-hash:20120531001432-af16d-efd6d591cfa8b07d911d9125056f064d64f160b6.gz
multifit: use no. of columns in X to allocate covmat and coef vector

A design matrix is a n \times p matrix, one column per coefficient.
When specifying a design matrix, I expect the following to work:

    let mat = fromColumns [ V.replicate 7 1         -- constant
                          , V.fromList (take 7 rng) -- x_1
                          , V.fromList (take 7 rng) -- x_2
                          ]

giving a (7><3) matrix, one column per predictor and a column for the
intercept.

The multifit binding uses the size of `y' to allocate storage for the
coefficients (`c') and the covariance matrix (`covmat').
The result is that using `mat' above causes a crash:

    gsl: multilinear.c:54: ERROR: number of parameters c does not
    match columns of matrix X
    Default GSL error handler invoked.

Here, `c' will equal the number of observations (aka size of `y') and not
the number of parameters (aka columns in `X').

Fix the problem by doing something like

    let n = dim y   -- number of obs.
        p = cols x  -- number of params

and use `p' to allocate storage for `covmat' and `c' in `multifit' and
`multifit_w'.
Merge pull request #2 from joachifm/fix-multifit

multifit: use no. of columns in X to allocate covmat and coef vector
remove unnecessary line in multifit
bump version to 0.1.3
fix .cabal repository line
removed warnings about CInt and unsafePerformIO
Merge remote-tracking branch 'origin/master'
remove reference to '-fvector' from .cabal
Merge remote-tracking branch 'origin/master'