New calculation tools

lsq2topb - Fits a polynomial to the top/(bottom) of data.   [demo]
med2top - Fits a constant to top/(bottom) of data.   [demo]
varcapy - Calculate percent y-block variance captured by a PLS regression model.
vip - Calculate Variable Importance in Projection from regression model.