Look into ephem
add total function
move tools.fill to design.tools_fill for deprecation