added the unittest for the Laplace function and changed the Makefile, so it all works.
created a function applyA to decide which function to use on runtime/when solve is called