some fixes
modified the tests a bit
modified the test code to have about 100 curves
added a read method to read procedural curve file
small cosmetic changes
added test case to load a procedural curve file