found/fixed bug in tent map