Change fabric() function to use a few loops in order
Change fabric() function to use a few loops in order

larkery/MyHomeEnergyPlanner,emoncms/MyHomeEnergyPlanner,emoncms/MyHomeEnergyPlanner,larkery/MyHomeEnergyPlanner,larkery/MyHomeEnergyPlanner,emoncms/MyHomeEnergyPlanner,emoncms/MyHomeEnergyPlanner