1174294SobrienCopyright (c) 1997-2006 Erez Zadok 238494SobrienCopyright (c) 1989 Jan-Simon Pendry 338494SobrienCopyright (c) 1989 Imperial College of Science, Technology & Medicine 438494SobrienCopyright (c) 1989 The Regents of the University of California. 538494SobrienAll rights reserved. 638494Sobrien 738494SobrienThis code is derived from software contributed to Berkeley by 838494SobrienJan-Simon Pendry at Imperial College, London. 938494Sobrien 1038494SobrienRedistribution and use in source and binary forms, with or without 1138494Sobrienmodification, are permitted provided that the following conditions 1238494Sobrienare met: 1338494Sobrien1. Redistributions of source code must retain the above copyright 1438494Sobrien notice, this list of conditions and the following disclaimer. 1538494Sobrien2. Redistributions in binary form must reproduce the above copyright 1638494Sobrien notice, this list of conditions and the following disclaimer in the 1738494Sobrien documentation and/or other materials provided with the distribution. 1838494Sobrien3. All advertising materials mentioning features or use of this software 1938494Sobrien must display the following acknowledgment: 2038494Sobrien This product includes software developed by the University of 2138494Sobrien California, Berkeley and its contributors, as well as the Trustees of 2238494Sobrien Columbia University. 2338494Sobrien4. Neither the name of the University nor the names of its contributors 2438494Sobrien may be used to endorse or promote products derived from this software 2538494Sobrien without specific prior written permission. 2638494Sobrien 2738494SobrienTHIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2838494SobrienANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2938494SobrienIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 3038494SobrienARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 3138494SobrienFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 3238494SobrienDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3338494SobrienOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3438494SobrienHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3538494SobrienLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3638494SobrienOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3738494SobrienSUCH DAMAGE. 38