Expand templates

From BoofCV
Expand templates