Copyright (c) 2007, ETH Zurich. Author: Matteo Corti <matteo.corti@id.ethz.ch> This module is free software; you can redistribute it and/or modify it under the terms of GNU general public license (gpl) version 3.