final tests done, checking zeros, discritizing capl