add solid parameters; finally tidy up that file a bit (default values and intent statements clearer)