Weird bug with the randdouble macro in libhardcol.h
Fixed with copious amount of brackets.
But what on earth was happening?

Added plotmap function in libhardcol.cpp
Merge branch 'master' of github.com:debsankha/piecewise-smooth