Support for changing marker size + small code to handle test functions that don't close automatically

As the title says I've added support for changing marker size. I've tested with both 2D- and 3D scatter plots,  and all sorts of different markers. So far all tests have been successful, but I can't guarantee that I've managed to test all possible (relevant) combinations.