Added a proposal for closing the loop. Created two functions for simulation, one is a closed loop, the other is an open loop simulation.
Merge branch 'master' of github.com:faitdivers/pyao into closedMainLoop
Changes in the folder organization of DM/Control
Fixed the bug of using the wrong parameters
Create a Zernike mode

Create a Zernike mode based on the indices (u,v) at the position rho and
theta from the origin of the grid. The positions rho and theta can
either be a scalar or an array (not matrix a type).
Test the WFG: Zernike

This file is indented to debug the WFG algorithm. It will plot the
Zernike mode specified in the code, it is messy code as is made for
debugging purposes only. You can see the usage  of the zernike function.
Implemented closed loop simulation, and modified setup_params to return only one variable. This helps to make shorter lines, and reduces the number of variables to be assigned in one function call. IMHO, this improves code readability.
Merge branch 'master' of github.com:faitdivers/pyao into closedMainLoop
Added the basics for a PID controller, with no I implemented yet, as initially we are only using P and D.
Added basic unit-testing to the PID controller.
Added test for the case of array input / output.
Fixed the derivative part, after the unit-tests failed.
Update wfr_doc.tex
Added File SingleLens.py to show analytical and numerical solutions graphically in the case of only a single lens.  First Draft of WFS, for a single aperture, no plots.
Uses parameters from the paramsSensor dictionary in main
Merge pull request #19 from faitdivers/closedMainLoop

Closed main loop
Merge branch 'master' of https://github.com/faitdivers/pyao into WFS_OneLens

Conflicts:
	src/main.py
document now compiles, removed a type
construction of the phase_id vector
Mapping from Noll index i to Zernike indices (u,v)

The file contains the u,v = zernikeIndex(i) function that maps from the
convenient Noll indexing to the Zernike indices. So far I was not able
to detect errors in the mapping up to i = 200 or so. I'm confident it'll
work just fine for larger values as it is not using an approximation.